package com.gitee.secretopen.sso.service;

import cn.chenc.framework.core.model.response.ResponseVO;
import cn.chenc.framework.mybatisplus.model.BaseConditionVO;
import com.gitee.secretopen.sso.controller.form.PageInfo;
import com.gitee.secretopen.sso.db.pojo.Site;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;
import java.util.Map;

/**
 * @Author Xjt
 * @Date 2021/2/26 18:53
 * @Version 1.0
 */
public interface SiteService extends IService<Site>{

    PageInfo<Site> page(Site params);

    PageInfo<Site> getByName(Site site);

    boolean addSite(Site site);

    List<Site> downloadSites();

    ResponseVO upload(MultipartFile file) throws Exception;


}
